/* PAGE LOGIN */
/* Основной контейнер */
.page-login {
    height: 100vh;
    margin: 0;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #c4b5fd 0%, #fefefe 100%);
    position: relative;
}

.page-login::before {
    content: "";
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(167, 139, 250, 0.5), transparent 70%);
    z-index: -1;
}

.page-login-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1200px;
    width: 100%;
    padding: 60px 40px;
    align-items: center;
}

/* Левая часть */
.page-login-info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 100px 40px 20px 40px;
    height: 100%;
}

.page-login-info-text {
    font-size: 28px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 24px;
}

.page-login-info-bottom-links {
    margin-top: 24px;
}

.page-login-info-links a {
    font-size: 14px;
    color: #2563eb;
    text-decoration: none;
    margin-right: 16px;
}

.page-login-info-links a:hover {
    text-decoration: underline;
}

/* Правая часть */
.page-login-r {
    display: flex;
    justify-content: center;
    padding: 0 20px;
}

/* Форма с анимацией */
.page-login-cont {
    background: #fff;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    max-width: 420px;
    width: 100%;
    /* Анимация */
    opacity: 0;
    transform: translateY(30px);
    animation: fadeSlideIn 0.6s ease forwards;
}

@keyframes fadeSlideIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Заголовок */
.page-login-title h1 {
    font-size: 20px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 24px;
}

/* Форма */
.page-login-form-log {
    display: flex;
    flex-direction: column;
}

.page-login-form-log label {
    font-size: 14px;
    font-weight: 500;
    margin: 16px 0 6px;
}

.page-login-form-log input {
    padding: 12px;
    font-size: 14px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    background-color: #f9fbff;
}

.page-login-form-log input:focus {
    outline: none;
    border-color: #3b82f6;
}

/* Нижний блок формы */
.page-login-form-ft {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 16px 0 24px;
}

.page-login-form-ft label {
    display: flex;
    align-items: center;
    gap: 6px;
}

.forgot a {
    color: #3b82f6;
    text-decoration: none;
}

.forgot a:hover {
    text-decoration: underline;
}

/* Кнопка */
.main-btn {
    width: 100%;
    padding: 12px;
    font-size: 15px;
    font-weight: 500;
    background: #2563eb;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s ease;
    margin: 20px 0 20px 0;
}

.main-btn:hover {
    background: #1d4ed8;
}

/* Регистрация */
.signup-link {
    text-align: center;
    font-size: 14px;
    color: #6b7280;
}

.signup-link a {
    color: #2563eb;
    text-decoration: none;
}

.signup-link a:hover {
    text-decoration: underline;
}

/* Адаптивность */
@media (max-width: 1024px) {
    .page-login-container {
        gap: 40px;
    }

    .page-login-info-text {
        font-size: 24px;
    }
}

@media (max-width: 768px) {
    .page-login-container {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }

    .page-login-info {
        padding: 0;
    }

    .page-login-r {
        padding: 0;
    }
}

@media (max-width: 480px) {
    .page-login-cont {
        padding: 30px 20px;
    }

    .page-login-info-text {
        font-size: 22px;
    }
}

/*-------------------------------------------------------------------------------------------------*/

/* PAGE PROFILE */
:root {
    --card-bg: #ffffff;
    --card-border: #e8eef8;
    --text: #111827;
    --muted: #6b7280;
    --chip-bg: rgba(2, 6, 23, .55);
    --chip-border: rgba(255, 255, 255, .18);
    --radius: clamp(14px, 2vw, 20px);
    --shadow: 0 20px 60px rgba(2, 6, 23, .12);
    --pad: clamp(16px, 2vw, 24px);
}

.l-user-profile {
    grid-column: 1/7;

}

.l-user-profile-header {
    width: 100%;
    height: 250px;
    background: #2A7B9B;
    background: linear-gradient(90deg, rgba(42, 123, 155, 1) 0%, rgba(87, 199, 133, 1) 50%, rgba(237, 221, 83, 1) 100%);
    border-top-left-radius: var(--radius);
    border-top-right-radius: var(--radius);

}

.l-user-profile-header-btn {
    display: flex;
    align-items: center;
    gap: 5px;
}

.l-user-profile-inf {
    background: var(--card-bg);
    color: var(--text);
    display: flex;
    flex-wrap: wrap;
    gap: clamp(14px, 1.6vw, 10px);
    padding: var(--pad);
    border-bottom-left-radius: var(--radius);
    border-bottom-right-radius: var(--radius);
    border: 1px solid var(--card-border);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.l-user-profile-avatar {
    width: 128px;
}

.l-user-profile-avatar img {
    position: absolute;
    margin-top: -80px;
    max-height: 128px;
    max-width: 128px;
    border-radius: 50%;
    padding: 5px;
    background: #fff;
}

.l-user-profile-c {
    width: 700px;
}

.l-user-profile-username {}
.l-user-profile-username h1 {
    font-size: 16px;
    font-weight: 500;
}
.l-user-profile-name {
    font-size: 18px;
    font-weight: bold;
}

.l-user-profile-l {
    grid-column: 1/3;
}

.l-user-profile-awards {

}

.l-user-profile-r {
    grid-column: 3/7;
}

.l-user-profile-content {

}

/*-------------------------------------------------------------------------------------------------*/